add missing $attachmentId in storeAttachmentByContent tests