updating tests to actually check for ttl, update set_default_ttl