Fix test file search globbing, when file not exist, will raise a exception.