tests for commandline