DescriptorService tests

Unit tests for descriptor service