Verifying that enum and underscore serialization work as expected.