making tests pass for ip address lookups