Catching test runner errors and attempting to output to console