add __eq method for ipv6
move ipv6 tests to a new file