How to test if wire is live