improves test coverage (cherry picked from commit 0666267d)
Attach a file by drag & drop or click to upload