Added more error output for console tests that throw exceptions.