Something like https://gist.github.com/dannycoates/7346325 moves most of the hackiness into the test. `ttl` is so minor, IDK if its even worth it to factor out Date. Its up to you, I can live with either.