Add IPv6 and IPv4 tests