Tests: Namespacing QUnit globals

As I did in jquery/jquery#1586, I've changed QUnit globals as they are not going to be exposed on further versions of QUnit.