test support for enum