Added test for input method selection in TextInput