It might be potentially valuable to split this up into, e.g., test_corner_cases, test_IPv4, test_IPv6.  Not important.