TestUtils docs: isComponentOfType -> isDescriptorOfType

Fixes #1946
Merge pull request #2038 from zpao/update-testutil-docs

TestUtils docs: isComponentOfType -> isDescriptorOfType