1990 Toyota Camry Ignition Coil Issues

Is this the distributor that is piggybacked onto the distributor? And are you sure that the coils you replace are actually bad? How did you test them?