Added a few (non-Junit) tests for messagehandler using fake
server/client