Adding pass ratio tallying to test scripts