Changed testing script for curses.