Add missing validations to models

Also add tests to check the validations. #74
Add validation to existing models

Also add tests to check the validations and correct existing tests. #74
Merge pull request #75 from hwikgren/development

Add validation to existing models and change tests to confirm to the validations
Resolves #74