TESTS: CompareAndWrite are bounded by the max block setting in BlockLimits

Make sure that we check that a target returns an error if we try to compare and write too much.