add PREPEND variable to tests.sh, add reset