writer test