In NJ, i have taken two eras of cars through myself. I only use NJ MVC Stations, it is free...and no shenanigans of fake passing it.
1992 Mercury Sable 3.8L Essex V6
2003 Mercury Sable 3.0L Vulcan V6
1992 Sable: Pull the car into the inspection bay put a inductance based dyno on the windshield, and clip to a spark plug wire. Idle and 2500RPM test. Tail pipe is probed during the test, after that part, they drive it over to the gas cap station where the cap is tested. Mine passed with flying colors on this test. Pre 1968 gets idle only, 1996+ Gets OBD-II
2003 Sable: OBD-II test which i failed due to the mechanic i got the car back from about 20 mins before reset the computer, NJ used to let it pass (we did it on my grandmothers 1997 escort, took it through with a freshly reset computer) but now it actually fails the car. I got a nice red REJECTED sticker on the windshield, i drove 40 mi did stuff for college and came back around 2PM, it passed with flying colors.
Now in NJ i could see cheating with the system if you go to a private facility, slip the guy a 20 or 50 to pass a car that will fail, we did it, took a 1983 malibu to a lenient place when we had safety inspections in the 1990s, it had a small crack on the windshield that we glazed over, but we did not want to risk it failing.
1992 Sable Result:the 2003 is the same, but has no gas info.