You could try putting a new air filter in and then taking the car for a good drive making sure the engine is revving high, driving through the gears is no good, you need to have the car revving at say for arguments sake, 5000rpm in second gear and drive like that for a bit, this will clear out all the old crap which should get you through the emissions part of the MOT if that fails then it could be lamda sensor.