Testsuite: Add testcases for string_is_ip_address (CVE-2023-42117)