Added unit test and updated integration spec to test for this as well.
Attach a file by drag & drop or click to upload