Electronic magnetic pole tester