Fix 'is not valid date and time' failed test