added test script test.sh

Added a batch testing script. Hope this helps testing?