How to test a wire for power