fix test error in shell script