Write UT for UserRestService