Fixing test failure on MacOS due to time difference.