add tests for register-temp-stanza-handler-for-id