Add unit tests for new methods in DescriptorUtils