Add test coverage to course groups app

TNL-21

@jimabramson @andy-armstrong 
probably would be better to move this into the next test case where other invalid inputs are being tested.