Uses only ipv4 for unit tests.