Create cli tests and improve error handling