- .validate is throwing if model is not an object
- added tests
- closes #6