Mediawiki test fixes

Fixes the tests to reflect the changes in the wiki style. Does not fix the xfails due to bug https://bugzilla.mozilla.org/show_bug.cgi?id=1011818