one thing that does foul the smog test is the computer loosing the data due to the battery running low by the dashboard clock and computer it self loosing power, it takes about a half an hour of driving for the computer to re-acquire the parameters back for the test unit to prosses the data correct.
I have to drive my "C" for half an hour and then go get is smoged or else it fails, the cat has to be really hot and at the correct temperature, another wise thing to do to older units is to do an oil change with filter and also change the air filter.
I have a battery disconnect switch for the engine battery so I know that the computer losses all the data, so drive around a bit then go get the smog check done.
navegator