improved MethodTask test
improved FunctionTask test
implemented DescriptorTask test