TST: tests for groupby not using grouper column, solved in GH7000, (GH5614)

closes #5614