Fix broken resize test