Refactored fake/real get distance test