Added tests for links