creating the groupBy
created b.Array.groupBy
test from boq.Array.groupBy