date validation test fix