new resize method test