add test/test_{getaddrinfo,inet}.c