Fixed bugs with unit test for client/server communications.
Fixed bugs with unit test for client/server communications.

digitalbazaar/monarch,digitalbazaar/monarch,digitalbazaar/monarch,digitalbazaar/monarch,digitalbazaar/monarch