added tests for Ttl (expiry on keys)