Add test coverage to course groups app

TNL-21

@jimabramson @andy-armstrong 
Good question. I don't know the answer. Maybe @jimabramson does?