StringReader tests, patch