Tests: Update QUnit

(cherry picked from commit 6748ba349650353c7bed6eec201a3192f6b2cae1)
Tests: Minor updates for QUnit 1.16 compatibility

More to come later.