fix tests for all writers