Adding simple writer test.