Agreed.
I have had a few engine failures testing homebuilts, but never in anything with a CofA, and only one in a PtF aeroplane that wasn't under test.
I've had two generator failures in CofA aeroplanes, several comms failures of one sort or another, a DI failure in a CofA aeroplane, a compass failure in a PtF aeroplane, a fuel system that decided to only transfer from one tank in another PtF aeroplane - all of which are contentedly glossed over by most PPL and CPL training in preference for two astoundingly rare occurrences.
We had a carbon fibre propeller spontaneously combuse once on a test programe - shutting down and deadsticking it in was the obvious solution, so we did. But, that's what test programmes are for and I've never heard of such a thing happen on a certified aeroplane.
Just one of those ways where the training system, and reality, just don't line up.
G