Testing a three phase motor by Insulation resistance test and resistance checking the windings