Regarding the emission testing, you can probably pass if you retard the intitial timing. Have you run a compression test to confirm high cylinder pressure? That would be my next step before possibly digging into anything.
I retard the ignition timing way back, pull vacuum hoses and dump a bunch of guaranteed to pass bottles in the tank in order to pass.
No, I hadn't done a compression test on it. I will this weekend though.