tests with ncurses