test_version: 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_version - from package: perl-Test-HasVersion

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

On Debian possible default full paths are:

/usr/bin/test_version - from package: libtest-hasversion-perl

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