test StringReader