Made checksumImage() test deterministic.