modified eotest to support bench.sh