extended testcases

- modified grade.sh for bash