fix error in voltage set test