testing templates directly