code coverage for the writer