def METHOD_NAME(res):
    tldlist, tldtree = res
    print "TLDs first level: %s\n" % len(tldtree.keys())
    print "TEST extracting TLDs from hosts:"
    for url, tld in [
        ("blogs.lemonde.paris", "paris"),               # 1st level TLD
        ("axel.brighton.ac.uk", "ac.uk"),               # 2nd level TLD
        ("m.fr.blogspot.com.au", "blogspot.com.au"),    # 3rd level TLD
        ("house.www.city.kawasaki.jp", "kawasaki.jp"),  # * case
        ("help.www.kawasaki.jp", "www.kawasaki.jp"),    # ! case
        (u"help.www.福岡.jp", u"福岡.jp"),              # utf8 case
        (u"syria.arabic.variant.سوريا", u"سوريا"),      # utf8 case 2
        (u"192.169.1.1", ""),                           # no tld case
        (u"localhost:8080", ""),                        # no tld case 2
        (u"localhost", ""),                             # no tld case 3
      ]:
        try:
            urltld = get_tld_from_host(url, tldtree)
            print url, "->", urltld
            assert(tld == urltld)
        except:
            print "ERROR extracting TLD!"
            reactor.stop()
            return
    print "\nTEST fixing LRUs TLDs:"
    for lru, gd in [