Fix test passing when file is not extant.