Implement correct test over UserRestService