XWIKI-7941: Update unit test.