run_*_tests returns error code if tests failed