test that group_id attribute is present and correct in LMS responses

TNL-24

@gwprice @dan-f (reqd)
i'm actually thinking about rolling `add_thread_group_name` into utils.safe_content, since that is always called on all threads before they are returned in a response.  i'm open to renaming the function while i'm at it, though it's not a big issue for me.