Updated FakeWindow to have a Document property that can create text nodes and elements.
This commmit should address all what is needed to fix issue #81