Add unit test for TemplateConverter