test read of a Document