Improving tests to deal with JP2ECW issue on latest GDAL versions