Add test coverage to course groups app

TNL-21

@jimabramson @andy-armstrong 
For update tests, I think it would be good to include some permission failure cases (or is this already covered elsewhere). I'd like to verify that users without the appropriate permission are not able to get results.