add documents and tests