Added test for String initialized FileWriters