added tests for link funtions and title