write tests for handle-stanza