Winding resistance and turns ratio testing