Move some properties to Document.prototype instead of setting them in createDocument
Add a (passing) test for the contents of a default iframe