When I attach a file manually my file has a size value, but if I run the behat test the file size is zero.
Manual Upload:
FileList {0: File, length: 1}
0: File
lastModified: 1472812418000
lastModifiedDate: Fri Sep 02 2016 11:33:38 GMT+0100 (BST)