[#534] add red unit test
[#534] fix change of cid of the embedded image after the message is cloned