added testrun.sh which is a driver script with some parser functions