I am sure they did test it, but testing doesn't catch everything. Seems like what they were executing was a short term algorithm. I've been in software for over 20 years. It is amazing this sort of thing does not happen more regularly in the markets.
"When you fail, you can grow exponentially. When you succeed you tend to grow incrementally." Getting rid of the ball and chain, stock by stock.