Update visual test repeat-labels-1 to test minimum-distance functionality.