Add model tests
Fix model tests
Update model tests
Fix npm setup
Merge pull request #12 from marmelab/add_model_tests

[RFR] Add model tests