Working test for add_ip.
Return the IP address from add_ip.