Add a regression test for the fuel_consumed handler.