test that group_id attribute is present and correct in LMS responses

TNL-24

@gwprice @dan-f (reqd)
Alternatively, we could just make the LMS resilient to data integrity errors and have add_thread_group_name handle CourseUserGroup.DoesNotExist, though I'm not sure what behavior we would really want in that case.