renamed xContains => xIsMember, and added tests