XWIKI-9569: By default only count results for XE instances and for non-snapshot versions
* Fix test