add example and test for multiple links