refactoring extract_links test
further refactoring of the test suite for trivial issues of domain string and spacing