XWIKI-9382: Provide test rule to initialize and manipulate olcore API
* fix test