Write unit test for MethodDescriptor
Add unit tests for the PropertyDescriptor class