Modify testSingleVoltage program