Updated test.sh to illustrate usage.