This is built with z shell in mind and may have compatibility issues with other shells.
sudo apt install jq
zsh wpm.sh <time in seconds>
Add as many txt word list files as you want in the lists directory.
Speed test results are stored in stats.json. Results are stored relative to the word lists used.