Test passing `group_id` in thread creation

TNL-22

@gwprice @jimabramson @andy-armstrong 
I could also override `_create_thread` directly, but I find that solution unnecessarily confusing.