add test for decode xml fragment
dealing with close stream tag
new StanzaError enum type