Testing template engines