test for reset width, height method