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