Fixed testing for UserController