Adding tests for the DateOnlyValidator