Modify testSingleVoltage