Update tests/runner.js to exit with status code 1 if there are failures