We should force our internal im context for these tests, so we don't depend on the environment.
For now, these check that the surrounding handling in GtkText and GtkTextView is sane. Fixes: #4151