test that group_id attribute is present and correct in LMS responses

TNL-24

@gwprice @dan-f (reqd)
My goal in writing this test was to verify that the view returned the proper HTTP status code when encountering an error... So it looks like the view you're testing which raises this error doesn't properly handle a `CourseUserGroup.DoesNotExist`.