And yet it was SL what had probably the most devastating upgrade bug in the history of OS X (the one that would delete users data). The point is, it is not possible to test it fully, because there are too many possible configurations outside of Apple's control. What can remedy the situation somehow is having a strict set of enforced rules, and that's exactly what Apple is trying to do. For instance, only allowing signed drivers, preventing applications from writing to system locations, properly isolating the applications from each other — all these things make it easier to carry out an upgrade in a systematic way.