CRM-14700 - Fix membershipType visibility in schema and tests