execute-tests-v2: further improvement with handling error messages