ap(ShadyDOM.wrap(d).shadowRoot).firstChild;
    var slotChangeFired = false;
    ShadyDOM.wrap(slot).addEventListener('slotchange', function(e) {
      slotChangeFired = true;
    });
    ShadyDOM.wrap(d).appendChild(document.createElement('div'));
    afterFlush(function() {
      assert.isTrue(slotChangeFired, 'slotchange did not fire');
      done();
    });
  });

  test('slotchange fires when node removed', function(done) {
    var d = document.createElement('div');
    makeShadowRootWithSlot(d);
    v