template script testing