XWIKI-11179: Wiki based ConfigurationSource don't take into account the passed class
* add test