test for distance added