Test calling writeString multiple times.