jstest: 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/jstest - from package: joystick

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