Fix domain tests with ipv6