add type convert class and unit test