Having been an engineer in the aircraft parts business at one point, I find it stunning that combustibility tests were goofed during thousands of hours of testing on these batteries. No doubt a story will emerge from the inquiry into supplier testing.
RTCA/ DO-160 is the document that spells out necessary compliance testing for airborne equipment such as these lithium batteries, and it is pretty hard to miss a lot.