       "zip" => "90071"
     })
 
-    {:ok, candidates} = Shippex.Carrier.UPS.validate_address(ambiguous_address)
+    {:ok, candidates} = Shippex.validate_address(ambiguous_address)
     assert length(candidates) > 1
 
     invalid_address = Shippex.Address.to_struct(%{


    assert valid_address.address_line_2 == "Suite 101"

    {:ok, candidates} = Shippex.Carrier.UPS.validate_address(valid_address)
    assert length(candidates) == 1
    assert hd(candidates).name == name
    assert hd(candidates).phone == phone

      "zip" => "90071"
    })

    {:error, _} = Shippex.validate_address(invalid_address)

    invalid_address = Shippex.Address.to_struct(%{
      "name" => name,
      "phone" => phone,
      "address" => "404 S Figueroa St",
      "address_line_2" => "Suite 101",
      "city" => "Los Angeles",
      "state" => "BC",
      "zip" => "90071",
      "country" => "US"
    })

    {:error, _} = Shippex.validate_address(invalid_address)
  end
end
