ShadyDOM.wrap(d).appendChild(e);
    afterFlush(function() {
      assert.isTrue(slotChangeFired, 'slotchange did not fire');
      slotChangeFired = false;
      ShadyDOM.wrap(slot).appendChild(document.createElement('div'));
      afterFlush(function() {
        assert.isFalse(slotChangeFired, 'slotchange fired when unused fallback changed');
        done();
      });
    });
  });

  test('slotchange fires when element "redistributed"', function(done) {
    var d = document.createElement('div');
    d.id