Return the IP address from add_ip, and added test.
Merge pull request #37 from boone/update_add_ip

Update the add_ip method.