fixed thumbnail problems in tests