Test for group memberships and custom group search base.