updated test case1 using new Template