Do you that for a fact, or are you just speculating? I suspect the test mode is not used for calculating the MPG.
AND you would be wrong...
MPG is calculated using the total hydrocarbon emissions to determine the amount of hydrocarbons (i.e., fuel) burned per mile. Gas and diesel vehicle MPG is determined this way and has been since MPG standards were established.