Cli test

This Pull Request  builds up on the original request  for a test suite for CLI commands.
Also has a small fix for argument mismatch in haas/cli.py.
When does this get called?  To my understanding, if a class or function's name does not start with ```test```, it does not get executed by pytest.