test main template