Add test for getThumbnail