check group is column in dataset
test valid group and index, abstract invalid column method