#9 added IT for enum scanning
#9 refactored resolving descriptors and tests