In many states, including mine (MA) if the check engine light is on, you are automatically rejected. If you reset the light and there are more than X number of incomplete tests, you have to come back for the re-test and then have to PASS the catalytic converter test and number of incomplete tests have to be under Y. The numbers X and Y depend upon the model year.
I don't quite understand how you can have CEL ON for years on your car and go through state inspection.
- Vikas