fixed error where it was checking the incorrect object for validation errors
Merge pull request #98 from MunkiPhD/bug-fix-model-test

fixed error where it was checking the incorrect object for validation er...