SMS: Spark testing of electric cables