test for template distribution problem under ShadowDOMPolyfill.