add input parameter to help testing

you can now inject a list or a string as fixed input
if input is omitted, the default value :stdio is assigned and input
is taken interactively from the shell