Some more tests on MessageWriter were done. Now it handles more general class JSONRPC2Message which is abstract base of all json-rpc messages. JsonRpcCoffeeMachineService test should be added.