fix test in negotiation