Add test coverage to course groups app

TNL-21

@jimabramson @andy-armstrong 
this block seems redundant since the methods you call from are already passing the set of expected cohorts, based on db queries that are constrained by course.