Fixed thumbnails, added a test for them.