Fix unit tests
Merge pull request #182 from pierredup/links

Fix unit tests