Improved test suite error handling