Pass exit code when test task ends