writer test stubs