test if template is working