Bad ECU from the factory!!?

I was having this problem today.No spark,then hooked a jumper from the ECUs metal body to the battery ground and finally got spark,but still wouldnt start.Looked at the reluctor and saw it was hitting the pickup and re gapped it.Ran ,but backfired and wouldnt start but examined the dist. cap and saw a hole in it.Replaced the cap and vroom,it runs.You can test the coil using a multimeter