Fix QueryGenTests test

The parameters are not ordered.
This causes a jenkins job to fail:
https://integration.wikimedia.org/ci/job/pywikibot-core-tox-nose34-trusty/759/console

Change-Id: Ifa7ec73b3452d5efbde55b18c532e159e4f59e93