test for distance and conversion