anchor.diff:              Expect.fail("No data expected");
               break;
             case 1:
  -            List<int> b = new List<int>(100);
  -            connection.readList(b, 0, 100);
  +            readBytes(() { });
               break;
             case 2:
  -            List<int> b = new List<int>(100);
  -            connection.readList(b, 0, 100);
  -            connection.close();
  +            readBytes(() {
  +              connection.close();
  +            });
               break;
             case 3:
  -            List<int> b = new List<int>(100);
  -            connection.readList(b, 0, 100);
  -            connection.writeList("Hello".charCodes(), 0, 5);
  -            connection.close();
  +            readBytes(() {
  +              connection.writeList("Hello".charCodes(), 0, 5);
  +              connection.close();
  +            });
               break;
             case 4:
  -            List<int> b = new List<int>(100);
  -            connection.readList(b, 0, 100);
  -            connection.writeList("Hello".charCodes(), 0, 5);
  +            readBytes(() {
  +              connection.writeList("Hello".charCodes(), 0, 5);
  +            });
               break;
             case 5:
             case 6:
  -            List<int> b = new List<int>(100);
  -            connection.readList(b, 0, 100);
  -            connection.writeList("Hello".charCodes(), 0, 5);
  -            connection.close(true);
  +            readBytes(() {
  +              connection.writeList("Hello".charCodes(), 0, 5);
  +              connection.close(true);
  +            });
               break;
             default:
               Expect.fail("Unknown test mode");
  
positive.code: 
      this.port.receive((message, SendPort replyTo) {
        if (message != SERVERSHUTDOWN) {
          _errorEvents = 0;
          _dataEvents = 0;
          _closeEvents = 0;
  
negative.code:         case 5:
          case 6:
            List<int> b = new List<int>(100);
            _readBytes += _socket.readList(b, 0, 100);
            if ((_readBytes % 5) == 0) {
              _dataEvents++;
            }
            break;
          default:
            Expect.fail("Unknown test mode");
  