Test resizing thumbnail.