anchor.diff:  Directory tempDir;
   
   final int TEST_TIMEOUT = 10;
  +final int CHROME_SHUTDOWN_TIMEOUT = 1;
  +final int EXIT_PROCESS_TIMEOUT = 1;
   
   void main() {
     if (!new Directory('app').existsSync()) {
  
positive.code: }
  
  void _doExit(int code) {
    // Give the chrome process a little time to shut down on its own.
    new Timer(new Duration(seconds: 1), () {
      if (tempDir != null) {
        try {
          tempDir.deleteSync(recursive: true);
  
negative.code: 
    testListener.close();
  
    // Give the chrome process a little time to shut down on its own.
    new Timer(new Duration(seconds: CHROME_SHUTDOWN_TIMEOUT), () {
      if (chromeProcess != null) {
          if (chromeProcess != null) {
            chromeProcess.kill();
          }
          _doExit(exitCode);
      } else {
        _doExit(exitCode);
      }
    });
  }
  
  void _streamClosed() {
  