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.
I would recommend splitting each one of these sections into their own classes for ease-of-reading.  I think this would be better than one large class with all of the tests.  This is purely preferential, so feel free to ignore me on this one.