Adding a test failure reporting abstraction