Refactor tests so we can exclude one on Travis.

It's a GDAL 1.9.2 bug we need to dodge.