Added #link into text.rb + tests

Added a #link method to text.rb since @sandal said in #689 (last comment) that a method was needed. Added tests too. Since this is my first PR in this repo, I'd love if any of you could tell me if I did anything wrong, so I can fix it. Thanks :smiley: 
Hey, thanks for the feedback. I've thought about using what other functions were using. Just realized this is not a good way. My bad!