Implement tests for creating a membership