test templating