Test passing `group_id` in thread creation

TNL-22

@gwprice @jimabramson @andy-armstrong 
I like this idea.