added a testprogram with a trivial textinterface