commandline interface + test