Fixed test to support IPv6