Added interdistance test