Did you disconnect the battery just before going for inspection? Allen turns off the rear 02 sensor codes so they don't report to the obdii port during inspection. The same thing can be done to the evap codes. If you recently cleared any codes it has to go through 50-100 miles of driving to check all sensors for feedback.