Bug 902562 - First tests for new InputMethod API