Test passing `group_id` in thread creation

TNL-22

@gwprice @jimabramson @andy-armstrong 
;) I saw that and changed it in my last commit