Added testcase: removing a published document.
Sketching a possible test runner.