Add test coverage to course groups app

TNL-21

@jimabramson @andy-armstrong 
ditto