Added some tests for links