add template type definition test case