    @Test
    public void testMarshal() throws Envelope.ParserException
    {

        Envelope envelope = new Envelope("Test", "{}");
        envelope.addHeader("header1", "1");
        checkMarshaling(envelope,
                        "Test 14 2\r\n" + 
                        "header1: 1\r\n" + 
                        "\r\n" + 
                        "{}");
    }