full text and distance function test from postgis