Add test for membership controller