With macOS Monetary you can now test your internet speed from the terminal window. There is no need to visit a tracking website, just run it locally on your own Mac.
Launch Spotlight (CTRL + SPACE) and type in the command ‘Terminal’ (without the quotes and press ENTER. When the terminal window appears type ‘networkquality’ all one work without the quotes and press ENTER.
The process will run for a few seconds and then display your upload and download speed.
Watch my YouTube video for more instructions: https://youtu.be/deycuzL8xxI