Added a test for getting useful error when user doesn't exist