updated unit tests for get_term_link, get_page_by_path, get_page_by_title, get_term_by, get_category_by_slug, url_to_postid