Add test for writers.