UsersResource tests