Template tests