add formal test suite
fix jidParts (would not parse domain/resource without localpart)