Try to make test work on ipv4 and ipv6 hosts