Testing the image scaling part