This test failures, shows that the code was already covered, but we didn't notice that the code was broken: now it's working (limitBeforeGrouping set to 2)