added tests for Membership