@Test
public void testMoreComplexGraph()
{

    GraphHopperStorage g = createGHStorage();
    CHGraph lg = g.getGraph(CHGraph.class);
    initShortcutsGraph(lg);
    int oldCount = g.getAllEdges().getMaxId();
    PrepareContractionHierarchies prepare = new PrepareContractionHierarchies(dir, g, lg, carEncoder, weighting, tMode);
    prepare.doWork();
    assertEquals(oldCount, g.getAllEdges().getMaxId());
    assertEquals(oldCount + 7, lg.getAllEdges().getMaxId());
}