Fixed PostGIS test failures.