Add functional test for UsersController