Writer tests.