date validation test cases