add a couple tests for the CLI