added image resizing tests