Improve test failure reporting