Added unit testing to the command client.

Had to do it in a separate file due to Boost being awkward.