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