Made initial model test pass.
Added unit tests for models.
Shell script to get test coverage.