Add another critical bug to the test-suite.

I have a fix, I'm reviewing it because there may be other bugs around.