fix up tests for string-read-write