set stanza.to in tests
implement unregister use case