add test mode to install.sh