Adapt tests for checking a stanza's JID