Testing a scrollable window in pycurses