testing resizing in pure Go