CRM-18303 follow up - add test for membership form (#8120)