add test.sh for debug