You are someone who hasn't lived in many of the 50 US states, apparently: there are no state car inspections in most places. Ever. I know it seems amazing to those of us who are accustomed to them.
Actually, you would probably not get away with having failed auto-headlight-dimming because you would annoy a cop going the other way and get a ticket. But features that aren't so obvious will go uninspected in many locations.