nchorElement]', clone.toString());
  testing.expectEqual(null, clone.parentNode);
  testing.expectEqual(null, clone.firstChild);

  let clone_deep = link.cloneNode(true);
  testing.expectEqual('#text', clone_deep.firstChild.nodeName);
</script>

<script id=contains>
  testing.expectEqual(true, link.contains(text));
  testing.expectEqual(false, text.contains(link));
</script>

<script id=hasChildNodes>
  testing.expectEqual(true, link.hasChildNodes());
  testing.expectEqual(false, text.hasChildNodes());
</sc