Write test ElectiveGroupsController
[Closes #48]