Added test for AggregateBy on a long data type