added test for verifying if title and url are given when creating a link