To be fair, they probably didn't expect their other supplier of batteries to have another, totally different flaw that caused those batteries to catch fire too.
When you ship a product to millions of customers, you don't "expect" or assume anything. You have your own people, on your payroll, test parts before they get used.
If you can define a testing regimen that would have caught this issue, I'm sure Samsung would gladly pay you in suitcases of cash.