Avoid future failures for future dates in tests.

Change-Id: I7f9f5861cd3f2db1499ca805e2461825c0ab85a3