Added get_repo_link function and two mock tests.