test: add test to cli with some command
- Reuse call to start and stop server.py
- need to implement the rest of the cli command, need some refactoring of the output of cli.