updated test_genericWriter.
generic writer exception handling, writer stopped writing.