ARQ-1356: fixed bug causing the test result wasn't updated in testng properly