lement.root.insertBefore(s, children[0]);
  assert.equal(testElement.root.querySelector('#local-first'), s);
  assert.equal(rere.attachedCount, 1);
  testElement.root.removeChild(s);
  assert.equal(rere.attachedCount, 1);
});

test('appendChild (fragment, local)', function() {
  var rere = testElement.root.querySelector('x-rereproject');
  var fragment = document.createDocumentFragment();
  var childCount = 5;
  for (var i=0; i < childCount; i++) {
    var s = document.createElement('span');
    s.textConte