test.sh: modify test script

Signed-off-by: Ilya Nelkenbaum <ilya@nelkenbaum.com>