Perl framework for testing full-screen terminal applications