Added utils for testing jid and tests for it