Characterization of errors in a CNOT between surface code patches