fixed up template test