Testing MozInputMethod API Example: commitText()