tests: Add tests for the command-line tool

1 job for wip/hadess/fix-cmdline in 1 minute and 22 seconds