Add unittest for making thumb URL with an ampersand

With #6 symac fixed in ac3a35b a bug which prevented
the download when files had an ampersand character,
by encoding the filename.

Add unittest for this behaviour.