Mock the links test.