resizing the test image