Added a test to ensure bad TTL values don't break queries