fix s3AttachmentService test