fixing broken unit test for #500
the underlying OpenMRS API was using a HashSet, leading to intermittent failures