code: function (testObj) {
          var duration = PFT.convertMsToHumanReadable(new Date().getTime() - testObj.startTime);
          testObj.duration = duration;
          var suite = "";
          if (testObj.suite) {
              if (testObj.suite.name) {
                  suite = testObj.suite.name + " - ";
              }
          }
          var msg = "Completed: '" + suite + testObj.name + "' in " + duration + " with " + testObj.passes + " passes, " +
              testObj.failures.length + " failures, " + testObj.errors.length + " errors.";
          PFT.logger.log(PFT.logger.TEST, msg);
          PFT.tester.onTestCompleted({ test: testObj });
          try {
              testObj.page.close();
          } catch (e) {
              PFT.warn(e);
          }
          PFT.tester.remainingCount--;
          PFT.tester.exitIfDoneTesting();
      }
docs: function will close out the currently running test objects, but any async
  tasks will continue running.