add test for #15
fix bug: implement link(2)
Merge pull request #16 from hiboma/implement-link

Implement link