Tests: Apply namespace for QUnit globals

Ref jquery/qunit#577
Tests: Apply namespace for QUnit assertions