Finish test_template()