New, updated, and cleaned up tests for Writer