Principle analysis of torque ripple test bench for electric machine for electric vehicle application