test.sh rewritten with curl; updated README for MacOS
fixed test.sh
#merge