code: function( options ) {
    options = options || {};
  
    if ( !options.url ) {
      throw new Error( ' -> No url to run against defined <- ' );
    }
  
    options.allowedDomains = options.allowedDomains || [];
    options.allowedDomains = options.allowedDomains.map( parseDomain );
  
    this.options = {
      runner : {
        allowedDomains : options.allowedDomains,
        url            : options.url,
        domain         : parseDomain( options.url )
      },
      wpt : {
        key         : options.key || '',
        location    : options.location,
        pollResults : 10,
        requests    : true,
        runs        : +options.runs || 1,
        server      : options.server || 'www.webpagetest.org',
        video       : true
      }
    };
  
    this.runner = new Runner( this.options );
  
  
    // pipe all events to the outer world
    events.forEach( function( eventName ) {
      var bouncerName = 'bouncer:' + eventName;
      this.runner.on( bouncerName, function( msg ) {
        this.emit( bouncerName, msg );
      }.bind( this ) );
    }, this );
  }
docs: Constructor
  @param {Object} options options
  
  @tested