Fixed an issue in which the template method was invoked twice for each test. Added an example DataDrivenTemplateTestCase.