Template engine testing