Change the two above lines to 

visitProperties.add("patient", RestTestConstants1_8.PATIENT_UUID);
visitProperties.add("visitType", RestTestConstants1_9.VISIT_TYPE_UUID);

and it will work without your fix.