runtest.sh shell script, test cases