test case for local tainting template.