XWIKI-9001: Chart Macro generates an incorrect URL instead of an image on sub-wikis
* Fix tests and moved one test to use Mockito
XWIKI-9001: Chart Macro generates an incorrect URL instead of an image on sub-wikis