These asserts are not testing anything related to the webservices.rest module, they're just calling Obs.getGroupMembers(). You should be doing resource.getGroupMembers(resource.getByUniqueId("..."))