Honestly, I think only trial and error will let us get a proper autonomous car.
And I still think autonomous cars will save many more lives than it endangered once it become reliable.
But for now this is bound to happen...
To be clear, they still are responsible of these car and the safety of others. They didn't test properly.
They should be trying every edge case they can think about.
A large screen on the side of a truck ? What if a car is displayed on it ? Would the car sensor notice the difference?
A farmer dropped a hay bale on the road ? It got flattened by rain ? Does the car understand that this might not be safe to drive on or to brake on ?
There is hundreds of unique situations that they should be trying before an autonomous car gets even close to a public road.
But even if you try everything there will be mistakes and fatalities.
Also people regularly spend more than they can afford.
When you think about it the fact that you can quite easily borrow money you clearly will not reimburse which is kind of an infinite money Glitch for capitalism.