Update documentation and unit tests for TTL/PTTL

Addresses #358
Merge branch 'hotfix/ttl_return'