docs updated; tests added covering as_object option of get_tld function