RESTWS-321:Fix CohortMemberControllerTest

https://tickets.openmrs.org/browse/RESTWS-321