Add error logging to unit test runner.