ncurse based test framework