I got a free re-test on my old escort after it failed its MOT, and I drove it about 40 miles between the tests AND my dad did the work required on it at his own garage!
But one thing that does ring a bell is that it had to be within 7 days of the original test