Measuring the Endurance of Films in Partial Discharges