XWIKI-10242: Incorrect implementation of xwiki.getDefaultPage()

* update test