validated models and tested the validations