Fixed "run_all_unit_tests.sh" var definition

Variable 'unit_test_result' is now set outside of the variable
sanity check. This makes more sense.