Add the model validation promise correction
Correct the validator for the unit test valid.