Method of testing for immunity of ESAs to surges conducted along AC and DC power lines a0c0