If it was running and driving fine, without the SES light being set, I would tend to believe that everything is ok despite what the mechanic informed you. Our cars are actually pretty smart and will not hesitate to tell us when a problem exists. The PCM looks for voltages to be within certain ranges, things to happen within certain periods of time, and cross checks its own sensors with other sensor data. If it ain't broke... don't fix it.