diff -r 7696e6a01709 -r 36287f2cf06e structs_test.go --- a/structs_test.go Sun Dec 16 22:17:49 2012 -0700 +++ b/structs_test.go Sun Dec 16 22:36:53 2012 -0700 @@ -89,7 +89,7 @@ } func TestIqMarshal(t *testing.T) { - iq := &Iq{Stanza: Stanza{Type: "set", Id: "3", + iq := &Iq{Header: Header{Type: "set", Id: "3", Nested: []interface{}{Generic{XMLName: xml.Name{Space: NsBind, Local: "bind"}}}}} exp := `