Add test coverage to course groups app

TNL-21

@jimabramson @andy-armstrong 
We don't usually indent signatures as if they are lists. I'd rather see this all on one or two lines, and the trailing ```):``` should be on the last line with the parameter names.