Test for DOMNode.shadowRootType.