add test cases and make run.sh run all test cases