Made a GIS test work on Oracle.

Thanks Josh Smeaton and Claude Paroz for advice.