Adds some tests around the client
Use mochas promise support
Merge pull request #52 from hassox/client-tests

Adds some tests around the client