added test for thumnail link
Merge branch 'master' into index-thumbnails
Closes #142