Factory test of three-phase capacitors