Add test coverage to course groups app

TNL-21

@jimabramson @andy-armstrong 
`response_dict.get("users")` returns a list of JSON objects, not usernames, so there has to be some kind of list comprehension here.