Fixed morphTo function generation
Added model generation tests for all the models in the test input