Add series of tests for commandline invocation