unit test fot MembershipAdapter removed ,added and attributeChanged

can you simplify this test?