Improve test_thumb
Find the thumbnail in all the sub-directories.
Fix index url in the templates.