t.equal(recorded[0].addedNodes.length, 1);
              assert.equal(recorded[0].addedNodes[0], child2);
              recorded = null;
              ShadyDOM.wrapIfNeeded(d).removeChild(child1);
              ShadyDOM.wrapIfNeeded(d).removeChild(child2);
              setTimeout(function () {
                assert.equal(recorded[0].removedNodes.length, 2);
                assert.deepEqual(recorded[0].removedNodes, [child1, child2]);
                recorded = null;
                ShadyDOM.unobserveChild