Changed DEFAULT_TTL to __default_ttl__ and added tests.