improved testcase template for http call