Fix test for TTL return value

Resolves issue #302
Merge branch 'hotfix/ttl-response-type'