consolidate util_test
add extract_links() tests for query (works) and trailing slash (doesn't work :/)