Fixed QUnit tests

Tests comply with change https://gerrit.wikimedia.org/r/#/c/145483/ now.
The `2` here is obviously a mistake, please have a look.