quick unit tests for distance calculation between two endpoints