RA-278 - fixed unit test that I broke when renaming "types" parameter to "encounterTypes"