add undocumented behaviour to use "test"/"cli"/"gui" as first argument to command-line version; add batch file as well