Template parameters defined with enum values don't work

This is a test case for template parameters defined with enum values