Fix wire protocol test