Dropped custom enum/set parser. Fixes bug #3779
Added extra unit test for enum fields parsing
Coding style fixes