Unit tests for 'resurrected' documents

Check that createDocumentFromRevision succeeds if the winning revision
has been deleted; and that createDocumentFromRevision fails if the
winning revision has not been deleted.