added tests around PayloadXmlDecoder for issue #310