test_index: 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/test_index - from package: openjpeg-tools

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