[Misc] Fix test (caused by XWIKI-9763)