A self-driving vehicle being tested by Uber in Arizona accidentally killed a woman crossing the street last week, the New York Times reports.

Uber, Google, General Motors and many other companies are racing to perfect self-driving vehicles, which safety experts say should be able to increase the safety of roads and highways because they hold the promise of eliminating human error, including drunken and distracted driving.

Earlier this year, Oregon lawmakers debated a bill that would establish a legal framework for the testing and useage of autonomous vehicles on Oregon roads. That bill stalled in committee.

On Friday, the Times reports, a woman died in Tempe, Ariz., while crossing a street.

"The Uber vehicle was in autonomous mode with a human safety driver at the wheel when it struck the woman, who was crossing the street outside of a crosswalk, the Tempe police said in a statement," the Times reported. "The episode happened on Sunday around 10 p.m. The woman was not publicly identified."