bash script to check all test automatically