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.
Agreed; When you have these "section" comments, it's usually a sign you need to break something up (we're guilty of this in `haas.api`). I would have a superclass that has the `setUp` method in it (and whose name doesn't begin with `Test`, so it won't itself be picked up by pytest), and subclass it for different groups of tests.