unit tests for DDR.docstore