Test: small integer sharing depends on maxmemory policy.