Add more formatting tests

Check for IPv6 support before adding tests