Opening the throttle on a diesel engine only regulates how much fuel is injected , the only way to test it's emissions is to inject the maximum allowed into the engine & that is ONLY going to happen at full throttle hence a diesel smoke test has to be done at full throttle, Some basic checks are carried out before the test is done which include oil level, bringing the engine up to normal running temp but most importantly the cambelt history has to be taken into account, The presenter of any diesel car should be given a card at reception stating what happens during the smoke test & if there is any doubt or the presenter can't confirm the cambelt history the testing station can & will refuse to carry out the test.
For the record the engine is held on the governor for aprox 5 seconds , if the smoke reading is within the limits after this time the car passes & thats it, this is known as "Fast Pass" , If if fails then the test is carried out up to a maximum of 6 runs & a mean average is taken , more often than not the first test run can be quite high especially if the car only pootles around as there is a buildup of soot in the exhaust which needs to be cleared out.