Fix for thumbnail test