fix for testcase3a.txt and test.sh