Added unit tests for model and sub-model