Fixed failing test on gdal 1.10 and lower.