testing gdal exceptions