text: registerTest ('Has Google Analytics', {
      setup: function() {
  
          // This is needed for all Asynchronous tests, to ensure that when running
          // individual tests with the ?testNumber=x argument, it won't stop the runner.
          // Reference Docs: http://api.qunitjs.com/QUnit.asyncTest/
  
          this.start();
      },
      load : function() {
          this
              .asyncTest('Do we have a valid GA ID (not UA-XXXXX-X)?',function($) {
                  var script = $('script[src*="/analytics.js"]'), universal = false, self = this, w = this.window;
                  if (script.length) {
                      ok(true, "Google Analytics script analytics.js present in page");
                      ok(!!w.ga, "ga object is present");
                      universal = true;
                  } else {
                      script = $('script[src*="/ga.js"]');
                      equal(1, script.length, "Google Analytics script ga.js present in page");
                      ok(!!w._gaq, "_gaq object is present");
                  }
  
                  function doTests(id) {
                      equal('UA-', id.substr(0, 3), 'Google Analytics account ID should start with UA-');
                      notEqual('UA-XXXXX-X', id, 'Google Analytics account ID should not be UA-XXXXX-X.');
                      self.asyncTestDone();
                  }
  
                  if (universal && w.ga) {
                      w.ga(function(tracker) {
                          doTests(tracker.get('trackingId'));
                      });
                  } else if (w._gaq) {
                      w._gaq.push(function() {
                          var pageTracker = w._gat._getTrackerByName();
                          doTests(pageTracker._getAccount());
                      });
                  } else {
                      self.asyncTestDone();
                  }
              });
      }
  });
  