ProtocolTest compilation fix