improved test for latlon