added document and revision unit tests