I am an emission inspector....with that said....
YOUR CAR WILL NOT PASS if you have a CEL (check engine light). If you get your car's computer flashed and tuned perfectly it WILL pass. You have to make sure the CEL is off. Pulling the CEL bulb does not make your car pass. If you running an AEM computer, your car will NEVER pass.
EDIT: /THREAD