Mock the links test.
Merge pull request #1145 from sigmavirus24/master

Mock the links test