Add tests for not covered code on Descriptor/DescriptorAbstract