Sanitized test assertions in gdal tests