Test resizing.