XWIKI-11143: Add support for URL source in office viewer macro
* fix test

(cherry picked from commit 2a24557d309fb0dbcc86acf897138e376bb96c29)