Test for getTerminalSize.