fixed failing tests in memberships controller spec