updated run.sh for tests