RestService and RepresentationResource tests