Added unit tests for link duplicate removal and GetLinkTitles