Small fix in the ncurses tests