The object of any development programme is to sort out problems before the type enters service.
As such serious failures during the programme (especially when you still have the aircraft to study the failure) are pure engineer's gold. Only programme managers think otherwise.