Improve failure reporting from tests.