move other libraries to TermBuffer2
add insertTest to TermBuffer