    function stamp(parent, host) {
          let template = host.shadowRoot.querySelector('template#renderer');
          let el = template.content.cloneNode(true).querySelector('div.target');
          el.textContent = `stamped by ${host.id}`;
          parent.appendChild(el);
          return el;
        }
        test('DOM is scoped correctly when stamped from an element into document', (done) => {
          let inBody = document.querySelector('x-sample#inBody');
          let inContainer = document.quer