Update the KeyCodeTest in the NewEventDispatcherTest