You can test a purge valve with a 12V battery. Just connect alligator clips to the connectors and if it works, you will hear a click. But still, the valve can leak even if it works well. This is why a leak test has to be done with a vacuum tester. If the PSI drops, then the purge valve is bad.