@Test
public void testPrepare()
{

    instance = new GraphHopper().
            setStoreOnFlush(false).
            setEncodingManager(new EncodingManager("CAR")).
            setCHWeighting("shortest").
            setGraphHopperLocation(ghLoc).
            setOSMFile(testOsm);
    instance.importOrLoad();
    GHResponse rsp = instance.route(new GHRequest(51.2492152, 9.4317166, 51.2, 9.4).
            setAlgorithm(AlgorithmOptions.DIJKSTRA_BI));
    assertFalse(rsp.hasErrors());
    assertEquals(Helper.createPointList(51.249215, 9.431716, 52.0, 9.0, 51.2, 9.4), rsp.getPoints());
    assertEquals(3, rsp.getPoints().getSize());
}