getMerges gets patientId and more tests