add unit test for IPv6