testing functional http endpoint with geocoding struct