add test for enum with LITE_RUNTIME