Fix CohortControllerTest

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