First basic CLI test

Will need some refactoring to write more elaborate
tests