TST: Enforce grouper=f() result has len(labels) == len(data) GH3035
BUG: Enforce grouper=f() result has len(labels) == len(data) GH3035