unit test for ClasspathTemplateLoader