speed plus weight plus huge tires plus max assist are going to be real battery eaters.
Yes, or to maybe make my point above in a different way... Think of yourself as a "Marketeer" for an e-bike company, who wants to paint the most favorable picture of their bike against the competition. They will optimize their testing to show the best results.
Anything you are doing differently from the list below will reduce your bike's range in the real world, some items drastically.
Optimal performance test criteria:
1) Small, light rider;
2) Smooth and clean paved riding surface;
3) Flat terrain;
4) No wind;
5) Tires inflated to maximum pressure;
6) Low speed;
7) Moderate rider pedal input;
8) No accessories on bike which would cause aerodynamic drag;
9) Cherry-picked battery pack;
10) Battery pack ridden until totally empty.
And there may be other 'optimizations' used.
Also, while not specifically e-bike related, I have some extensive experience with Lithium batteries from flying drones. Some brand new packs don't perform to their greatest capacity until after (sometimes) up to 10 discharge/charge cycles.