In VA, the inspection station keeps the entire fee.
There is no revenue stream for the state. That's why the inspection stations lobbied for the increase to $16 a few years back. It's also a ceiling. They're free to charge less and often do for promotional purposes.