I wouldn't call it 'rigged tests', it's more like they optimize the system under test to meet the spec. It probably happens everywhere, not only in cars. The behavior of your fridge, AC or any other hardware is probably optimized in weird ways just to meet Energy Star etc.