code: function (baseUrl, callback) {
      callback = callback || function (error, results) {
        if (error) {
          console.error.apply(console,
            error.stack ? [ error.stack ] : [ 'Error:', error ]);
        }
        var total = results.passed.length + results.failed.length;
        console.log('Results: ' + results.passed.length + '/' + total + ' test' +
          (total === 1 ? '' : 's') + ' passed.');
        if (results.failed.length > 0) {
          console.error('Failed:', jsonStringifyWithFunctions(results.failed));
        }
      };
  
      var results = {
        failed: [],
        passed: []
      };
  
      this.exportAllTests(baseUrl, function runNextTest (tests) {
        if (tests.length === 0) {
          callback(null, results);
          return;
        }
  
        var i = Math.floor(Math.random() * tests.length);
        var test = tests.splice(i, 1)[0];
        test(function (error, testResults) {
          if (testResults) {
            results.failed = results.failed.concat(testResults.failed);
            results.passed = results.passed.concat(testResults.passed);
          }
          if (error) {
            callback(error, results);
            return;
          }
          runNextTest(tests);
        });
      });
    }
docs: Test the API using its own request/response examples.