XWIKI-9421: Attachment version is incremented when a document is restored from recycle bin
* Fix unit test.