add model validations
fixes tests for new model validations