Tests: Improve BWC preconditions to error cleanly when wire formats differ.

closes #7966