testing electrical connections