Added test for enum member of component.