add CodeConverter's unit test