      handler(observer.takeRecords());
          assert.equal(recorded[0].removedNodes.length, 2);
          assert.deepEqual(recorded[0].removedNodes, [child1, child2]);
          recorded = [];
          ShadyDOM.unobserveChildren(observer);
          ShadyDOM.wrap(d).appendChild(child1);
          handler(observer.takeRecords());
          assert.deepEqual(recorded, []);
        });

        test('observeChildren via takeRecords', function () {
          var d = document.createElement('div');
          m