Wrote a unit test to test parsing of enums.