cancel template testing in tearDown