Make idempotent send work, together with a test