```js
div.innerHTML = 'ab<!--cd-->ef';
assert.equal(div.textContent, 'abef');
```

seems slightly better.

Can you also add?

```js
test('textContent of comment', function() {
  var comment = document.createComment('abc');
  assert.equal(comment.textContent, 'abc');
});
```