fix tox tests so they don't require gdal

I skipped a couple of assertions if python-gdal is not present because tox can't install it (`pip install gdal` doesn't seem to work). This should also help travis because it probably won't be able to install gdal for python 3.