Add `jid.Equals(jid)` method and some tests.