refactor search_layout and add search_owner test
create new tests for GroupOwnershipController and GroupMembershipController