add spec for pttl method