Tested writer class