enum test for template