date validation + model test