add unit tests for reference service finding matching subjects