Add exit code to test runner.