wagon_test: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/wagon_test - from package: speech-tools

You may install the required package with command apt-get install {package}
Error in other languages:
wagon_test: bevel nie gevind nie
wagon_test: comandă negăsită
wagon_test: comando não encontrado
wagon_test: commande introuvable
wagon_test: command not found
wagon_test: käsku ei ole
wagon_test: không tìm thấy lệnh
wagon_test: komanda nerasta
wagon_test: Kommando nicht gefunden.
wagon_test: kommandot finns inte
wagon_test: komut yok
wagon_test: nie znaleziono polecenia
wagon_test: níor aimsíodh an t-ordú
wagon_test: no se encontró la orden
wagon_test: no s'ha trobat l'ordre
wagon_test: opdracht niet gevonden
wagon_test: parancs nem található
wagon_test: perintah tidak ditemukan
wagon_test: príkaz nenájdený
wagon_test: příkaz nenalezen
wagon_test: команда не найдена
wagon_test: командата не е открита
wagon_test: 命令找不到
wagon_test: コマンドが見つかりません