Fix test cases.
Fix template config file path in StringTemplate.