Added allEncounters(Form) to AbstractPatientWrapper along with more unit tests