Test Enum generation