Adds missing exit checks in run-all-tests.sh