Test key events fix