Keywords: Atrial fibrillation; Atrial undersensing; Automatic pacing threshold testing; Implantable cardioverter-defibrillator; Long QT type 3 syndrome; Short-long-short sequence; Ventricular fibrillation.