Adding tests for the membership module