Also change the test code to emit a click instead of accesing the component internals
Attach a file by drag & drop or click to upload