Unit tests for REST webservices (BaseRestService)