Issue #2776071 by damiankloip, neclimdul, Mixologic: run-tests.sh does not return a non zero status when tests fail with exception