add unit test for model converter