Testing before an accident happens