@Test
public final void testPOIWithAccesNoOffsets() {

    LocationReferenceHolder encLocRef = null;
    try {
        PoiAccessLocation inputLocation = td.getPOIWithAccessNoOffset();
        encLocRef = encodeLocation(inputLocation);
        assertTrue(encLocRef.isValid());
        RawLocationReference rawData = encLocRef
                .getRawLocationReferenceData();
        GeoCoordinates inputPoi = inputLocation.getPointLocation();
        GeoCoordinates coords = rawData.getGeoCoordinates();
        assertEquals(coords.getLatitudeDeg(), inputPoi.getLatitudeDeg());
        assertEquals(coords.getLongitudeDeg(), inputPoi.getLongitudeDeg());
        Offsets offsets = rawData.getOffsets();
        assertTrue(offsets.getPositiveOffset(0) <= 0);
        assertTrue(offsets.getNegativeOffset(0) <= 0);
    } catch (InvalidMapDataException e) {
        Assert.fail("Unexpected exception", e);
    }
}