Test for StringWriter & EchoWriter