correct message types in TestFromPostXML

fixes #343