add few unit tests
fix minor things in cosmo_cli.py