add model attribute type validations and tests
integer validation test