Add shell test script

for Mac