anchor.diff:            expect(message, isNotification);
           }
         });
  -      process.stderr.listen((List<int> data) {
  -        fail('Unexpected output from stderr');
  +      process.stderr.transform((new Utf8Codec()).decoder).transform(
  +          new LineSplitter()).listen((String line) {
  +        String trimmedLine = line.trim();
  +        server._recordStdio('ERR:  $trimmedLine');
  +        server._badDataFromServer();
         });
         return server;
       });
  
positive.code:           new LineSplitter()).listen((String line) {
          String trimmedLine = line.trim();
          server._recordStdio('RECV: $trimmedLine');
          var message = JSON.decoder.convert(trimmedLine);
          expect(message, isMap);
          Map messageAsMap = message;
          if (messageAsMap.containsKey('id')) {
  
negative.code:    */
    bool _debuggingStdio = false;
  
    /**
     * True if we've received bad data from the server, and we are aborting the
     * test.
     */
    bool _receivedBadDataFromServer = false;
  
    Server._(this._process);
  
    /**
  