added test for lat