I'm a little wary to have tests that depend on real-world time in the code, since things like garbage collection can cause them to fail nondeterministically. Ideally we would use a Clock abstraction here, but we can keep this for now and see whether it breaks.