adds rspec tests for groups controller