if you hear a click, but there's no cranking, probably need to rebuild the Denso starter's solenoid. The contacts become intermittent. You can get contacts only, or plunger-contact kits and DIY it. Pretty sure there are youtube videos for the process. very common on older cars.
Starter may pass a test because it's intermittent. Some folks can have a failed start, whack the starter with a chunk of wood, re-try and start the car.