ed.getParentNode(s), rere);
  }
  if (checkUnpatchedDom) {
    assert.equal(Polymer.TreeApi.Composed.getParentNode(s), p);
  }
  rere.removeChild(s);
  if (checkUnpatchedDom) {
    assert.equal(Polymer.TreeApi.Composed.getParentNode(s), p);
  }
  if (checkUnpatchedDom) {
    assert.equal(Polymer.TreeApi.Composed.getParentNode(s), null);
  }
});

test('queryDistributedElements', function() {
  var rere = testElement.root.querySelector('x-rereproject');
  var re = rere.root.querySelector('x-reproject');
  var