implemented runTests.sh for running tests of each library
modified runtest framework