Fixed test - groupBy does not guarantee order now