Make the ttl test a bit more robust.