If I had to guess there will probably be tests like the Institute for Highway Safety does but to test autonomous car software, maybe mostly simulated so they can run a huge number of tests again and again (a Matrix-for-Cars).
Yeah, that's the problem; it means you can't insure away the problem, and each jury gets told to slap on a high enough penalty to ensure the SDC maker "never does it again", and you know how that goes.
The problem isn't the insurer's solvency, but the SDC maker's.
One venue that has caps, for similar reasons, is vaccines. Because vaccines are safe and necessary, we need a way to ensure vaccine makers exist and aren't sued to bankruptcy over the inevitable few deaths, so there's a special system for ensuring compensation of the victims, and makers can accurately set aside a known quantify of money for those deaths.
That's a claim that can change auto insurance big time.