integrated runtest.sh into test.sh