Add test for upload of existing and modified file