Fix thumbnail_path for tests