Fixed arguments processing in run-tests.sh

Detail in commit message