Testing filewriter