A prototype or two blowing up is just an ordinary part of air/spacecraft design. You're not going to design a perfectly safe and reliable vehicle the first time around. That's why test pilots exist in the first place. It's like soldiers dying in war. Yeah, of course it's unfortunate, but it's just the reality of the situation.