A test for bug 50790

This test checks that the selected input method
is remembered after disabling IME and going to
another page.

Bug: 50790
Change-Id: I94bd779577251d51a20471a6a39ab1ee6cd6927e