Short-circuited coil detection, insulation test