Fix time zone sensitivity in test.