Adding pass ratio tracking to test scripts