-x in test.sh for debug