The repo-based speedtest-cli program under Debian 10, Ubuntu 18 is a broken product because its using outdated python2 libraries. The repo-based is the one you install via apt-get install speedtest-cli command.
It will show you the correct download speed result.
It will show you INCORRECT upload speed result averaging 4 mbps.
With an official Speedtest CLI https://www.speedtest.net/apps/cli you will get the real result.
Example of speedtest with official speedtest cli.
Server: Milan (id = 1434)
Latency: 0.44 ms (0.08 ms jitter)
Download: 735.95 Mbps
Upload: 935.67 Mbps
Packet Loss: 0.0%