fix resize test