Fixed issue with ConsoleInterfaceForTesting

The size of the line buffer was not managed correctly when the buffer
width was increased.