add test for enum with null element