make the test independent of the time zone that it's running in
(cherry picked from commit 9931d34)