Fix socket.test