added test script for hw3 test cases