Fixed Upload Attachment test

fixes #5