fixed the empty test for external_links