added groupContains
adding a testbed