Add test for getThumbnail
Add test for getThumbnail
Add retry logic to all methods (fix #5)
Fix tests