basic tests for distance/2