Added tests for UsersController