Added tests for link's validations