ShadowDOMShim: make tests work again.