fixed mystery bugs in models tests
Merge pull request #16 from andmcgregor/models_tests

fixed mystery bugs in models tests