Add basic integration tests for the CLI

Add integration tests for the CLI that invoke it as a user would, i.e.
via the shell script in the package's bin directory.