Implantable cardioverter defibrillator ( ICD ) function in the presence of SCS was tested by defibrillation testing during SCS system implant and review of real-time and stored electrograms during follow-up .