Tests for String reading and writing.