(Issue 335) Unit test to verify searching memberships of non-existent principals