added and tested simple document handling and update with test.ArchiveWriter.