Tests for SocketWrapper send method