Ensure datetime reflects accurate ordering for tests