Add ipv4 endpoint tests