Add test coverage to course groups app

TNL-21

@jimabramson @andy-armstrong 
Good call. Currently `get_course(course_id)` does not thrown an error when `course_id` doesn't correspond to a valid course. Instead it just returns the empty list. @jimabramson is this correct behavior?