Tests: Update QUnit
Tests: Minor updates for QUnit 1.16 compatibility

More to come later.

(cherry picked from commit f6f8848fbe477fa93fd27ac7f10885dd6e97f633)