.I have several trucks, most are 24 volt. Take a wire, attach it to the left battery negative terminal. Get a second wire, attach it to the right positive terminal. Attach the positive wire to the pump wire. Using the left wire, touch it to the case of the pump. It’ll kick over if it’s at least marginally intact. I’ve used this to test several components. Got zapped a few times as well. I take no responsibility if you get zapped. It’s one of those “try by doing” events.
Getting that ZAP sound will wake you right up though!