This test runs only under root, which is required for the user-switch `-u` option to work. Closes #537.