test: run.py: return valid errorCode in case of the single test run