fixed test with enum field mapping