Add tests to ProjectRestService and UserRestService