We could do this with this code
```js
document.implementation.createDocument(null, 'html',null)
```
But it would not working If we reinstate varible document (it would be just new null varible).

Any way, if we even would not reinstate varible document, tests would not working becouse we adding event listeners to real document. But checking in tests mocking document (wich have no listeners). Listeners are setted up in std.keyboard.js so in normal working mode code would not work normal, I think, if we create mock document there.