// Now do the same as above, but renumber states to match grB
AbstractLearnerGraph.copyGraphs(grA, graph);
Configuration configMut = Configuration.getDefaultConfiguration().copy();config.setLearnerCloneGraph(false);
LearnerGraphMutator<List<CmpVertex>,LearnerGraphNDCachedData> graphPatcher = new LearnerGraphMutator<List<CmpVertex>,LearnerGraphNDCachedData>(graph,configMut,null);
ChangesRecorder.loadDiff(graphPatcher, recorder.writeGD(TestGD.createDoc()));
graphPatcher.removeDanglingStates();
LearnerGraphND result = new LearnerGraphND(configMut);
graphPatcher.relabel(result);
Assert.assertNull(WMethod.checkM_and_colours(grB, result,VERTEX_COMPARISON_KIND.DEEP));