Memorisable ids for test documents.
Added test checking for edge cases when a published document gets removed.