Unit tests for preventing double send.