add tests for enum field