fix tests for writer collection