add network/gethostbyname with test