Fix test failure due to exactly-same date comparison