Fix objectDistribution unit test