A car has crashed into a barrier during a crash test.