test code for distances...