To debug test failures, look at the URL of the hidden iframes corresponding to the test at the end of the document, load those individually, and use your browser's debugging tools.