cleanup test files
Revert "lose foowriter"

This reverts commit ebff72874bba6f84656a6eb40b7c06a4e4cbc549.
update foowriter to new TypeWriter interface