Fixes a time-dependent failing test.

Freeze time for all tests in this context.