Revert "tests: Avoid problems with local time across a day boundary."
This reverts commit 5ba0e454a37c9b0d3badddfc2dad8bcc7c7af874.