test for groupBy order
Merge pull request #857 from metamx/fix-groupby

test for groupBy order