some model unit tests
added support for travis-ci

closes #5
Merge branch 'repomgmt-2-model-unit-tests'