add unit test for ipv6