Added test for when ip address is an object and not a string
Merge pull request #1 from larskrantz/master

Added test for when ip address is an object and not a string