fix get attach file test