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