Test distance-to-marker properly