Tests were taken from 5a249c30b1/test/findLinks.js. The underlying code is different but the tests are the same.
5a249c30b1/test/findLinks.js