added check_cases.sh