storage: add a test for error handling in read-only non-kv batches
storage: add a test for error handling in read-only non-kv batches

Tests the fix from the first commit of this PR.

paperstreet/cockroach,petermattis/cockroach,glycerine/cockroach,paperstreet/cockroach,paperstreet/cockroach,glycerine/cockroach,veteranlu/cockroach,petermattis/cockroach,petermattis/cockroach,veteranlu/cockroach,glycerine/cockroach,maxlang/cockroach,cockroachdb/cockroach,petermattis/cockroach,glycerine/cockroach,glycerine/cockroach,maxlang/cockroach,petermattis/cockroach,paperstreet/cockroach,veteranlu/cockroach,maxlang/cockroach,maxlang/cockroach,cockroachdb/cockroach,vaibhavarora/cockroach,maxlang/cockroach,cockroachdb/cockroach,vaibhavarora/cockroach,vaibhavarora/cockroach,cockroachdb/cockroach,veteranlu/cockroach,glycerine/cockroach,veteranlu/cockroach,vaibhavarora/cockroach,vaibhavarora/cockroach,cockroachdb/cockroach,petermattis/cockroach,petermattis/cockroach,paperstreet/cockroach,paperstreet/cockroach,glycerine/cockroach,maxlang/cockroach,paperstreet/cockroach,veteranlu/cockroach,paperstreet/cockroach,veteranlu/cockroach,cockroachdb/cockroach,vaibhavarora/cockroach,vaibhavarora/cockroach,petermattis/cockroach,maxlang/cockroach,glycerine/cockroach,cockroachdb/cockroach,maxlang/cockroach,vaibhavarora/cockroach,veteranlu/cockroach,cockroachdb/cockroach