Fix test runner process exit code to report the number of failing tests, like it did before.
Merge pull request #1532 from juj/fix_test_runner_returncode

Fix test runner returncode.