Starting to write Document/DocumentNode and tests