Yeah they failed you because they suck. If the lCEL lights up when you first start the car then goes out its ok. They either have a problem with there machines or the guy testing it doesn't know what he's doing. From what i understand here in Jersey they have to fail a certain number each month.
I also had an 02 accord today with the same thing. They failed for no communication and when i hooked up our tester i had no problem.
So i would just go back and have it re-inspected.