correcting tests for TermWriter
correct handlers
fixing wrap = false test