a test case for template