added TestSource to debug and unittest circular LineBuffer