Testcase for resizing