Add file attachment test for edit contribution