Tests: Apply namespace for QUnit globals

Ref jquery/qunit#577