Added testing for IPv6 to peer grouper tests

So far the peer grouper only tests IPv4. As part of the IPv6 enabling the peer grouper testing now runs all tests for IPv6 too.
A map of IP type a struct containing formatHostPort, formatHost and addressType could simplify this and other parts of the tests.