We're glad to hear you were able to get your Honda Accord's check engine light to turn off by replacing the Vehicle Speed Sensor. As far as the smog check and its cost, you'll need to check with the smog station you visit on whether or not they offer free retests. If they do, they will more than likely only offer one free retest per paid test, but check with the smog station first. Not all stations offer a free retest. Smog stations are privately owned businesses.