Ok heres the plan, I am guessing you have a 2.5NA/TD or 2/300TDI, take the accelerator cable, and alter it slightly, so that the engine cannot be revved to the same extent, also, make sure your filters etc... are clean, then run the tank low, and put in some veg oil (olive, sunflower anything as long as its oil) so the mix is around 60derv and 40veg.
I would be supprised if it failed at that, also have the engine HOT for the test, most garages leave them standing for a day, take them round to the MOT centre and they are still cold, thus the engine is running a little inefficiently.