XWIKI-8970: Creator of document does not receive immediately the delete right on their newly created document.

 - avoid some exception during tests