Add tests for terminalScrollUp