unit tests for dates validator and driver validator.