I have the VANOS problem and got my car smogged yesterday without any problems. I posted a few days ago (short term software fix?) I took it to an indepandant mechanic for some unrelated repairs and had him resent the adpation values. Voila, no rough idle and much better performance. Last time it only lasted 30 days. We'll see this time.

I don't know if he reset the adpation values before or after the smog test. I'll ask tomorrow.