Test Suite with some initial test coverage

Hi Donald,

I've added some basic unit tests for the client and commands.
Should offer some initial basic support to ensure pull requests are sound.
Want to add travis to auto testing all new pull requests?

Dan