Add test case for Descriptor.
More test cases for Descriptor.