keyboard_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/lib/plainbox-providers-1/checkbox/bin/keyboard_test - from package: plainbox-provider-checkbox

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