added test case for enum element initialization with other element