fixed tests
added test for group membership