Simplify processing an incoming stanza in tests