I would want to have simulated landings at every airport in the world and a few million synthetic airports, and to do those tests with various simulated wind speeds, signal degradations, engine failures, broken actuators, damaged wings, etc.
For each test, I would determine if the plane is within the design envelope (for example, cross wind speed under 100 mph for landing), and if so require the test success.
I would also be running tests outside the design envelope, but be aiming to tweak the design to pass as many as possible - that way you might survive a few crazy 'wing cut off by passing UFO' type incidents.
I don't see any way such a bug could pass such tests... Which suggests they didn't run those tests, which is concerning.