add model validations & tests for models
Merge pull request #16 from smonette/models_validation

add model validations & tests for models