Test resize.