Added unit test for UserController