Spec tests for membership