Fixed TestWriterCallbacks unit test.