Added test for validating due date