Fix flakey Squash partitionEntity

This is very lazy. It also introduces the danger that `hashEntity` always returns the same thing and this test never fails.

Is there an easy way to fix the flakiness without making this test worse?