tests: check the negotiated wire-version for expected failure mode.