Test Dom\Document