add test.sh and updates