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 CentOS possible default full paths are:

/usr/bin/test - from package: coreutils

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/test - from package: coreutils
/usr/lib/plan9/bin/test - from package: 9base

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