I added the `_codeMirror.doc.historySize()` here too since is a no-op edit too, but since there was a `editor.document.setText` after the last test, it has to be 1 instead of 0.