Software Boosts On-Wafer Test Accuracy