Testing electrical performance