unit test saveWithAttachment success