added group-by fixture

- discovered a bug in my approach, not sure what a good solution is, but
its probably pretty minor.,