code: function(onCalibrated) {
        for (var i = 0; i < Test.CALIBRATIONS.length; i++) {
          var cal = Test.CALIBRATIONS[i];
          if (cal.running) return true;
          if (!cal.count) {
            cal.isCalibration = true;
            cal.onStop = onCalibrated;
            //cal.MIN_TIME = .1; // Do calibrations quickly
            cal.run(2e4);
            return true;
          }
        }
        return false;
      }
docs: Run calibration tests.  Returns true if calibrations are not yet
  complete (in which case calling code should run the tests yet again).
  onCalibrated - Callback to invoke when calibrations have finished