added unit tests for geospatial functions