moved model test to src/test/unit/model