Remove unused method
Add test for thumbnail generation