Testing dangerous conditions on a driving simulator is safer than testing out on the road.