How to test an electric fence