Test the input method names displayed in UI

Test whether the input method settings shows the
correct input method name whenever we change input
methods.