Add test coverage to course groups app

TNL-21

@jimabramson @andy-armstrong 
I think this comment is now wrong, because the test is asserting that a bad request response is received.