testSpliceRemoveFirstTextNode() {
    const testDiv = dom.getElement('testSplice');
    testDiv.innerHTML = 'hello<b>world</b><em>goodbye</em>';
    it = new TagIterator(testDiv.firstChild, false, true);

    iter.forEach(
        it, /**
               @suppress {strictMissingProperties} suppression added to enable
               type checking
             */
        (node, dummy, i) => {
          if (node.nodeType == 3 && node.data == 'hello') {
            i.splice();
          }
          if (node.nodeName == TagName.EM) {
            i.splice(dom.createDom(TagName.I, null, node.childNodes));
          }
        });

    testingDom.assertHtmlMatches(
        '<b>world</b><i>goodbye</i>', testDiv.innerHTML);
  }
@suppress {strictMissingProperties} suppression added to enable
               type checking