test: make tests pass, ensure valid IP addresses are returned