moved qunit stuff around for consistency sake